import locales from '@src/locales';
import { getAssetsForLocalesOssUrl, getAssetsForOssUrl, getAssetsForCommonLocalesOssUrl} from 'pub-bbx-utils'

 
export const getLocalesOssUrl = (url:string)=>{
  return getAssetsForLocalesOssUrl(url, locales.locale)
}

export const getOssUrl = (url:string)=>{
  return getAssetsForOssUrl(url, locales.locale)
}

export const getLocalesCommonOssUrl = (url:string)=>{
  return getAssetsForCommonLocalesOssUrl(url, 'zh')
}
